SNMPTRAPD

Section: Maintenance Commands (8)
Updated: 16 July 1994
Index Return to Main Contents
 

NAME

snmptrapd - Receive and log snmp trap messages.  

SYNOPSIS

snmptrapd [ -p ]  

DESCRIPTION

Snmptrapd is an SNMP application that receives and logs snmp trap messages sent to the SNMP-TRAP port (162) on the local machine.

If the -p option is given, snmptrapd will print it's messages to the standard output. Otherwise it will use syslog(8) to log messages. These syslog messages are sent with the level of LOG_WARNING, and are if available (usually on 4.3 systems) are sent to the LOG_LOCAL0 facility.

The log messages are of the form:
Sep 17 22:39:52 suffern snmptrapd: 128.2.13.41: Cold Start Trap (0) Uptime: 8 days, 0:35:46

Snmptrapd must be run as root so that UDP port 162 can be opened.

Adding a "-d" to the argument list will cause the application to dump input and output packets.  

SEE ALSO

syslog(8), variables(5), RFC 1155, RFC 1156, RFC 1157, SNMP Security Internet Drafts


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 23:03:09 GMT, July 01, 2025